from django import template
from django.conf import settings

register = template.Library()

@register.simple_tag
def settings_property(name):
    try:
        return settings.__getattr__(name)
    except AttributeError:
        return ""